<p><span>Available Languages: </span><a href="../de/mod/beos.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
<a href="../en/mod/beos.html" title="English"> en </a> |
<a href="../es/mod/beos.html" hreflang="es" rel="alternate" title="Espa±ol"> es </a> |
<a href="../ko/mod/beos.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div>
<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>This Multi-Processing Module is optimized for BeOS.</td></tr>
the limit on the number of requests that an individual server thread
will handle. After <code class="directive">MaxRequestsPerThread</code>
requests, the thread will die. If <code class="directive">MaxRequestsPerThread</code> is <code>0</code>, then the thread
will never expire.</p>
<p>Setting <code class="directive">MaxRequestsPerThread</code> to a
non-zero limit has two beneficial effects:</p>
<ul>
<li>it limits the amount of memory that a thread can consume
by (accidental) memory leakage;</li>
<li>by giving threads a finite lifetime, it helps reduce
the number of threads when the server load reduces.</li>
</ul>
<div class="note"><h3>Note:</h3>
<p>For <code class="directive"><a href="../mod/core.html#keepalive">KeepAlive</a></code> requests, only
the first request is counted towards this limit. In effect, it
changes the behavior to limit the number of <em>connections</em>
per thread.</p>
</div>
</div>
</div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../de/mod/beos.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
<a href="../en/mod/beos.html" title="English"> en </a> |
<a href="../es/mod/beos.html" hreflang="es" rel="alternate" title="Espa±ol"> es </a> |
<a href="../ko/mod/beos.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>